﻿using log4net;

namespace PlayLog4Net
{
    static class Helper
    {
        public static void PrintDebug(this ILog logger, int total)
        {
            logger.InfoFormat("begin {0} loops, ......", total);
            for (int index = 0; index < total; index++)
            {
                logger.DebugFormat("{0}-th loop", index + 1);
            }
            logger.Info("end loop");
        }
    }
}
